package com.beesphere.excel.reader.tests;

import java.io.FileInputStream;

import com.beesphere.excel.reader.impls.xml.ExcelToXmlConverter;

public class XmlnsTest {
	public static void main (String [] args) throws Exception {
		ExcelToXmlConverter reader = new ExcelToXmlConverter ();
		String[] xmlns = new String[] {
				"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
				"xmlns:xls=\"http://www.beesphere.net/xsds/2008/xls\""
		};
		reader.setXmlns(xmlns);
		reader.setOmitXmlDeclaration(true);
		reader.setNamespace("xls");
		reader.read (new FileInputStream ("files/in.xls"));
	}
}
